/**
 * CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.mobile.controller;

import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.cmcc.zysoft.infocollection.common.BaseController;
import com.cmcc.zysoft.infocollection.mobile.service.MResourceService;

/**
 * @author 袁凤建
 * <br />邮箱: yuan.fengjian@ustcinfo.com
 * <br />描述: MSystemUserController.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-8-12 下午4:56:24
 * <br />CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

@Controller
@RequestMapping("/mobile/user")
public class MSystemUserController extends BaseController {

	/**
	 * 属性名称: mResourceService.
	 * 类       型: MResourceService.
	 */
	@Resource
	private MResourceService mResourceService;
	
	/**
	 * 个人中心-通过该接口,用户可查询自己的POI采集和更新信息(审核不通过的不计入统计范围).
	 * @param usercode 手机号
	 * @return map
	 */
	@RequestMapping("/center.htm")
	@ResponseBody
	public Map<String, Object> center(String usercode) {
		return this.mResourceService.statCenter(usercode);
	}
}